module ois.oisobject;

import ois.prereqs;
import ois.keyboard;
import ois.mouse;
import dogre.internals.utils;
import std.string;

class OISObject
{
    mixin(Wrapper);
    
    Keyboard opCast(T)() if(T is Keyboard)
    {
        return new Keyboard(p);
    }
    
    Mouse opCast(T)() if(T is Mouse)
    {
        return new Mouse(p);
    }
}